package com.scau.common.constants;

public interface HttpCode {

    enum Error {
        NOT_LOGINED(40001, "用户未登录");

        Error(int code, String message) {
            this.code = code;
            this.message = message;
        }

        private int code;
        private String message;

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }
}
